home *** CD-ROM | disk | FTP | other *** search
/ Chip 2000 June / Chip Haziran 2000.iso / prog / basic / 09 / 09.exe / classic.wmz / classic.wms < prev    next >
Encoding:
Text File  |  2000-02-23  |  14.8 KB  |  285 lines

  1. <!--    Windows Media Player Classic -->
  2.  
  3. <theme>
  4.  
  5. <view       width="285" height="359"
  6.             title="Classic Media Player"
  7.             timerInterval="100"
  8.             scriptFile="classic.js;res://wmploc.dll/RT_TEXT/#132;"
  9.             ontimer="OnTimerTick();"
  10.             onload="OnLoad();"
  11.             >
  12.  
  13.         <player         URL_onchange="OnURLChange();"
  14.                         PlayState_onchange="OnPlayStateChange();"
  15.                         OpenState_onchange="OnOpenStateChange();"
  16.                         >
  17.  
  18.         </player>
  19.  
  20.         <!--    The navigation bar -->
  21.  
  22.         <subview        width="jscript:view.width" height="1" backgroundColor="white" horizontalAlignment="stretch" />
  23.  
  24.         <subview        id="navbar"  left="0" top="1" width="jscript:view.width" height="23"
  25.                         horizontalAlignment="stretch"
  26.                         backgroundColor="#D6D3CE"
  27.                         >
  28.  
  29.             <button     id="back"   left="5" top="1"
  30.                         image="back_up.bmp" hoverImage="back_hover.bmp" downImage="back_down.bmp" disabledImage="back_disabled.bmp" 
  31.                         upToolTip="Back"
  32.                         />
  33.             <button     id="forward"   left="29" top="1"
  34.                         image="forward_up.bmp" hoverImage="forward_hover.bmp" downImage="forward_down.bmp" disabledImage="forward_disabled.bmp" 
  35.                         upToolTip="Forward"
  36.                         />
  37.             <button     left="53" top="1"
  38.                         image="toggle_up.bmp" hoverImage="toggle_hover.bmp" downImage="toggle_down.bmp"
  39.                         upToolTip="Return to Full Mode"
  40.                         onClick="view.ReturnToMediaCenter();"
  41.                         />
  42.  
  43.             <button     id="radio"   left="85" top="1" width="54"
  44.                         image="radio_up.bmp" hoverImage="radio_hover.bmp" downImage="radio_down.bmp"
  45.                         upToolTip="Radio"
  46.                         horizontalAlignment="right"
  47.                         onclick="player.LaunchURL( 'http://windowsmedia.microsoft.com/radio/Radio5.asp' );"
  48.                         />
  49.             <text        left="jscript:radio.left+25;" top="jscript:radio.top+3;"
  50.                         value="Radio" passThrough="true" fontSize="8"
  51.                         horizontalAlignment="right"
  52.                         />
  53.             <button     id="music"   left="jscript:radio.left + radio.width" top="1" width="53"
  54.                         image="music_up.bmp" hoverImage="music_hover.bmp" downImage="music_down.bmp"
  55.                         upToolTip="Music"
  56.                         horizontalAlignment="right"
  57.                         onclick="player.LaunchURL( 'http://windowsmedia.microsoft.com/music/Guide.asp?wmp=t' );"
  58.                         />
  59.             <text        left="jscript:music.left+25;" top="jscript:music.top+3;"
  60.                         value="Music" passThrough="true" fontSize="8"
  61.                         horizontalAlignment="right"
  62.                         />
  63.             <button     id="guide"   left="jscript:music.left + music.width" top="1" width="85"
  64.                         image="guide_up.bmp" hoverImage="guide_hover.bmp" downImage="guide_down.bmp"
  65.                         upToolTip="Media Guide"
  66.                         horizontalAlignment="right"
  67.                         onclick="player.LaunchURL( 'http://windowsmedia.microsoft.com/default.asp' );"
  68.                         />
  69.             <text        left="jscript:guide.left+25;" top="jscript:guide.top+3;"
  70.                         value="Media Guide" passThrough="true" fontSize="8"
  71.                         horizontalAlignment="right"
  72.                         />
  73.  
  74.         </subview>
  75.  
  76.         <subview        top="jscript:navbar.top + navbar.height" width="jscript:navbar.width" height="1" backgroundColor="#848284" horizontalAlignment="stretch" />
  77.  
  78.         <!--    The video window - and replacement icon view -->
  79.  
  80.         <subview        id="videoview" left="0" top="25" width="jscript:view.width" height="183" 
  81.                         backgroundColor="black" 
  82.                         horizontalAlignment="stretch" verticalAlignment="stretch"
  83.                         >
  84.  
  85.             <video      id="video" windowless="false"
  86.                         width="jscript:videoview.width" height="jscript:videoview.height"
  87.                         horizontalAlignment="stretch" verticalAlignment="stretch"
  88.                         backgroundColor="black"
  89.                         />
  90.  
  91.             <button     id="wmlogo" image="icon_wmlogo.bmp" enabled="false" 
  92.                         horizontalAlignment="center" verticalAlignment="center"
  93.                         />
  94.  
  95.         </subview>
  96.  
  97.         <!--    The controls and info section -->
  98.  
  99.         <subview        id="cpane"
  100.                         left="0" top="jscript:videoview.top + videoview.height" width="jscript:view.width" height="jscript:view.height - top"
  101.                         horizontalAlignment="stretch" verticalAlignment="bottom"
  102.                         backgroundColor="#D6D3CE"
  103.                         >
  104.  
  105.             <slider     id="seek" left="5" top="5"
  106.                         width="jscript:cpane.width-10;"
  107.                         toolTip="Seek"
  108.                         backgroundImage="currentpos_background.bmp"
  109.                         thumbImage="currentpos_thumb.bmp"
  110.                         disabledImage="currentpos_disabled.bmp"
  111.                         min="0" max="wmpprop:player.currentmedia.duration"
  112.                         value="wmpprop:player.controls.currentposition"
  113.                         onDragEnd="player.controls.currentposition=value;"
  114.                         horizontalalignment="stretch" borderSize="7"
  115.                         enabled="wmpenabled:player.controls.currentposition"
  116.                         />
  117.  
  118.             <button     id="play"   left="5" top="25"
  119.                         image="play_up.bmp" hoverImage="play_hover.bmp" downImage="play_down.bmp" disabledImage="play_disabled.bmp" 
  120.                         upToolTip="Play"
  121.                         enabled="wmpenabled:controls.Play"
  122.                         onclick="player.controls.Play();"
  123.                         />
  124.             <button     id="pause"  left="26" top="25"
  125.                         image="pause_up.bmp" hoverImage="pause_hover.bmp" downImage="pause_down.bmp" disabledImage="pause_disabled.bmp"
  126.                         upToolTip="Pause"
  127.                         enabled="wmpenabled:controls.Pause"
  128.                         onclick="player.controls.Pause();"
  129.                         />
  130.             <button     id="stop"  left="47" top="25"
  131.                         image="stop_up.bmp" hoverImage="stop_hover.bmp" downImage="stop_down.bmp" disabledImage="stop_disabled.bmp"
  132.                         upToolTip="Stop"
  133.                         enabled="wmpenabled:controls.Stop"
  134.                         onclick="player.controls.Stop();"
  135.                         />
  136.  
  137.             <subview    left="70" top="25" backgroundImage="divider.bmp" />
  138.  
  139.             <button     id="prev"  left="76" top="25"
  140.                         image="prev_up.bmp" hoverImage="prev_hover.bmp" downImage="prev_down.bmp" disabledImage="prev_disabled.bmp"
  141.                         upToolTip="Skip Back"
  142.                         enabled="wmpenabled:controls.Previous"
  143.                         onclick="player.controls.Previous();"
  144.                         />
  145.             <button     id="rw"  left="98" top="25"
  146.                         image="rw_up.bmp" hoverImage="rw_hover.bmp" downImage="rw_down.bmp" disabledImage="rw_disabled.bmp"
  147.                         upToolTip="Rewind"
  148.                         enabled="wmpenabled:controls.FastReverse"
  149.                         onclick="player.controls.FastReverse();"
  150.                         />
  151.             <button     id="ffw"  left="120" top="25"
  152.                         image="ffw_up.bmp" hoverImage="ffw_hover.bmp" downImage="ffw_down.bmp" disabledImage="ffw_disabled.bmp"
  153.                         upToolTip="Fast Forward"
  154.                         enabled="wmpenabled:controls.FastForward"
  155.                         onclick="player.controls.FastForward();"
  156.                         />
  157.             <button     id="next"  left="142" top="25"
  158.                         image="next_up.bmp" hoverImage="next_hover.bmp" downImage="next_down.bmp" disabledImage="next_disabled.bmp"
  159.                         upToolTip="Skip Forward"
  160.                         enabled="wmpenabled:controls.Next"
  161.                         onclick="player.controls.Next();"
  162.                         />
  163.  
  164.             <subview    left="165" top="25" backgroundImage="divider.bmp" />
  165.  
  166.             <subview    id="intro"  left="171" top="25" backgroundImage="intro_disabled.bmp"
  167.                         />
  168.  
  169.             <subview    left="194" top="25" backgroundImage="divider.bmp" />
  170.  
  171.             <button     id="mute"  left="210" top="25" width="21"
  172.                         image="mute_up.bmp" hoverImage="mute_hover.bmp" downImage="mute_down.bmp"
  173.                         sticky="true" down="wmpprop:player.settings.mute"
  174.                         upToolTip="Mute"
  175.                         horizontalAlignment="right"
  176.                         onclick="player.settings.mute = down;"
  177.                         />
  178.  
  179.             <slider     id="volume"  left="232" top="25" width="48"
  180.                         toolTip="Volume" borderSize="5"
  181.                         backgroundImage="volume_background.bmp"
  182.                         thumbImage="volume_thumb.bmp"
  183.                         value="wmpprop:player.settings.volume"
  184.                         value_onchange="player.settings.volume = value"
  185.                         horizontalAlignment="right"
  186.                         />
  187.  
  188.             <!-- info pane subview -->
  189.  
  190.             <subview    top="55" width="jscript:cpane.width" height="jscript:cpane.height - top"
  191.                         backgroundColor="black"
  192.                         horizontalAlignment="stretch"
  193.                         >
  194.  
  195.                 <subview    id="icon"  left="5" top="35" width="30" height="30" />
  196.  
  197.                 <subview    width="jscript:cpane.width" height="1" backgroundColor="#848284" horizontalAlignment="Stretch" />
  198.                 <subview    width="1" height="jscript:cpane.height" backgroundColor="#848284" />
  199.  
  200.                 <text       id="show_label" top="5" width="75" height="15"
  201.                             fontsize="8" fontface="ms sans serif"
  202.                             foregroundColor="white" backgroundColor="black" justification="right"
  203.                             value="Show:"
  204.                             />
  205.                 <text       id="show" top="jscript:show_label.top" 
  206.                             left="jscript:show_label.left + show_label.width + 10" 
  207.                             width="jscript:cpane.width - show_label.width - 10" height="jscript:show_label.height"
  208.                             fontsize="jscript:show_label.fontsize" fontface="ms sans serif"
  209.                             foregroundColor="white" backgroundColor="black" justification="left"
  210.                             value=""
  211.                             />
  212.  
  213.                 <subview    top="22" width="jscript:cpane.width" height="1" backgroundColor="#848284" horizontalAlignment="Stretch" />
  214.  
  215.                 <text       id="clip_label" top="25" width="75" height="15"
  216.                             fontsize="8" fontface="ms sans serif"
  217.                             foregroundColor="white" backgroundColor="black" justification="right"
  218.                             value="Clip:"
  219.                             />
  220.                 <text       id="clip" top="jscript:clip_label.top" 
  221.                             left="jscript:clip_label.left + clip_label.width + 10" 
  222.                             width="jscript:cpane.width - clip_label.width - 10" height="jscript:clip_label.height"
  223.                             fontsize="jscript:clip_label.fontsize" fontface="ms sans serif"
  224.                             foregroundColor="white" backgroundColor="black" justification="left"
  225.                             value=""
  226.                             />
  227.  
  228.                 <text       id="author_label" top="40" width="75" height="15"
  229.                             fontsize="8" fontface="ms sans serif"
  230.                             foregroundColor="white" backgroundColor="black" justification="right"
  231.                             value="Author:"
  232.                             />
  233.                 <text       id="author" top="jscript:author_label.top" 
  234.                             left="jscript:author_label.left + author_label.width + 10" 
  235.                             width="jscript:cpane.width - author_label.width - 10" height="jscript:author_label.height"
  236.                             fontsize="jscript:clip_label.fontsize" fontface="ms sans serif"
  237.                             foregroundColor="white" backgroundColor="black" justification="left"
  238.                             value=""
  239.                             />
  240.                 <text       id="copyright_label" top="55" width="75" height="15"
  241.                             fontsize="8" fontface="ms sans serif"
  242.                             foregroundColor="white" backgroundColor="black" justification="right"
  243.                             value="Copyright:"
  244.                             />
  245.                 <text       id="copyright" top="jscript:copyright_label.top" 
  246.                             left="jscript:copyright_label.left + copyright_label.width + 10" 
  247.                             width="jscript:cpane.width - copyright_label.width - 10" height="jscript:copyright_label.height"
  248.                             fontsize="jscript:copyright_label.fontsize" fontface="ms sans serif"
  249.                             foregroundColor="white" backgroundColor="black" justification="left"
  250.                             value=""
  251.                             />
  252.  
  253.                 <subview    top="74" width="jscript:cpane.width" height="1" backgroundColor="#848284" horizontalAlignment="Stretch" />
  254.  
  255.                 <text       id="info"  top="78" left="20" height="15"
  256.                             fontsize="8" fontface="ms sans serif"
  257.                             foregroundColor="white" backgroundColor="black"
  258.                             value=""
  259.                             />
  260.  
  261.                 <text       id="tracktime"  top="78" left="130" width="80" height="15"
  262.                             fontsize="8" fontface="ms sans serif"
  263.                             foregroundColor="white" backgroundColor="black" justification="right"
  264.                             value=""
  265.                             horizontalAlignment="right"
  266.                             />
  267.                 <text       id="duration"   left="JScript:tracktime.left + tracktime.width" top="78" width="60" height="15"
  268.                             fontsize="8" fontface="ms sans serif"
  269.                             foregroundColor="white" backgroundColor="black"
  270.                             value=""
  271.                             horizontalAlignment="right"
  272.                             />
  273.  
  274.                 <subview    id="stereo" left="jscript:cpane.width - 30" top="75" width="22" height="20"
  275.                             horizontalAlignment="right"
  276.                             />
  277.  
  278.             </subview>
  279.  
  280.         </subview>
  281.  
  282. </view>
  283.  
  284. </theme>
  285.